package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * Student Homework Completion Information
 * @TableName student_homework_completion
 */
@TableName(value ="stu_homework_info")
@Data
public class StuHomeworkInfo implements Serializable {
    /**
     * Record ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * Student ID
     */
    private Integer studentId;

    /**
     * Homework ID
     */
    private Integer homeworkId;

    /**
     * Finish status, 0 for not finished, 1 for finished
     */
    private Integer finish;

    /**
     * Score A+,A，A-，B+，B，B-，C+，C，C-，D+，D，D-，F
     */
    private BigDecimal score;

    /**
     * Finish time
     */
    private LocalDateTime finishtime;

    private static final long serialVersionUID = 1L;


    /**
     * 作业图片
     */
    private String homeworkUrl;

    /**
     * 作业文字内容
     */
    private String homeworkDetails;

}